const path = require('path')
module.exports = {
  devServer: {
    port: 9527,
    open: true
  },
  lintOnSave: false,
  chainWebpack: config => {
    config.resolve.alias
      .set('@', path.join(__dirname, 'src'))
      .set('assets', path.join(__dirname, 'src/assets'))
      .set('components', path.join(__dirname, 'src/components'))
      .set('views', path.join(__dirname, 'src/views'))
      .set('utils', path.join(__dirname, 'src/utils'))
      .set('api', path.join(__dirname, 'src/api'))
      .set('mixins', path.join(__dirname, 'src/mixins'))
  }
}
